export default {
  "panels": [{
    "index": 0,
    "name": 1,
    "height": 140,
    "width": 240,
    "paperHeader": 83.5,
    "paperFooter": 390,
    "printElements": [{
        "options": {
          "left": 40,
          "top": 18,
          "height": 34.5,
          "width": 540,
          "title": "物料入库单",
          "right": 285,
          "bottom": 9.75,
          "vCenter": 130.5,
          "hCenter": 4.875,
          "coordinateSync": false,
          "widthHeightSync": false,
          "fontSize": 22,
          "fontWeight": "600",
          "textAlign": "center",
          "textContentVerticalAlign": "middle",
          "qrCodeLevel": 0
        },
        "printElementType": {
          "title": "这是更新后的元素",
          "type": "text"
        }
      }, {
        "options": {
          "left": 197.5,
          "top": 63.5,
          "height": 16.5,
          "width": 207,
          "title": "供应商",
          "field": "cvendoridName",
          "right": 388.5,
          "bottom": 58.2421875,
          "vCenter": 292.5,
          "hCenter": 49.9921875,
          "coordinateSync": false,
          "widthHeightSync": false,
          "fontSize": 8,
          "textContentVerticalAlign": "middle",
          "qrCodeLevel": 0
        },
        "printElementType": {
          "title": "",
          "type": "text"
        }
      }, {
        "options": {
          "left": 407.5,
          "top": 63.5,
          "height": 16.5,
          "width": 187.5,
          "title": "入库单号",
          "field": "vbillcode",
          "coordinateSync": false,
          "widthHeightSync": false,
          "fontSize": 8,
          "textContentVerticalAlign": "middle",
          "qrCodeLevel": 0,
          "right": 599.49609375,
          "bottom": 58.9921875,
          "vCenter": 505.74609375,
          "hCenter": 50.7421875
        },
        "printElementType": {
          "title": "",
          "type": "text"
        }
      }, {
        "options": {
          "left": 10,
          "top": 63.5,
          "height": 16.5,
          "width": 172.5,
          "title": "入库日期",
          "field": "dbizdate",
          "right": 182.7421875,
          "bottom": 58.9921875,
          "vCenter": 96.4921875,
          "hCenter": 50.7421875,
          "coordinateSync": false,
          "widthHeightSync": false,
          "fontSize": 8,
          "textContentVerticalAlign": "middle",
          "qrCodeLevel": 0
        },
        "printElementType": {
          "title": "",
          "type": "text"
        }
      }, {
        "options": {
          "left": 10,
          "top": 90,
          "height": 36,
          "width": 560,
          "right": 559.99609375,
          "bottom": 102.24609375,
          "vCenter": 284.99609375,
          "hCenter": 84.24609375,
          "tableHeaderRepeat": "page",
          "tableFooterRepeat": "page",
          "fields": [{
              "text": "物料代码",
              "field": "cmaterialoidCode"
            },
            {
              "text": "物料名称",
              "field": "cmaterialoidName"
            },
            {
              "text": "物料批号",
              "field": "vbatchcode"
            },
            {
              "text": "规格",
              "field": "materialspec"
            },
            {
              "text": "单位",
              "field": "cunitidName"
            },
            {
              "text": "数量",
              "field": "nnum"
            },
            {
              "text": "生产厂商",
              "field": "cproductoridName"
            },
            {
              "text": "厂家批号",
              "field": "vvendbatchcode"
            },
            {
              "text": "备注",
              "field": ""
            }
          ],
          "field": "table",
          "tableBorder": "noBorder",
          "tableFooterBorder": "noBorder",
          "tableFooterCellBorder": "noBorder",
          "tableBodyRowHeight": 30,//表体行高
          "tableHeaderRowHeight":24,//表头行高
          footerFormatter: function(options, rows, data, currentPageGridRowsData) {
            return `<tr style="height:40px">
                      <td>接收人:</td>
                      <td style="padding:0 10px;line-height:20px" colspan="11"></td>
                  </tr>`;
          },
          "columns": [
            [{
                "title": "物料代码",
                "field": "cmaterialoidCode",
                "checked": true,
                "fixed": false,
                "rowspan": 1,
                "colspan": 1,
                "align": "center",
              },
              {
                "title": "物料名称",
                "field": "cmaterialoidName",
                "checked": true,
                "fixed": false,
                "rowspan": 1,
                "colspan": 1,
                "align": "center",
                "width": 150,
              },
              {
                "title": "规格",
                "field": "materialspec",
                "checked": true,
                "fixed": false,
                "rowspan": 1,
                "colspan": 1,
                "align": "center"
              },
              {
                "title": "物料批号",
                "field": "vbatchcode",
                "checked": true,
                "fixed": false,
                "rowspan": 1,
                "colspan": 1,
                "align": "center"
              },
              {
                "title": "单位",
                "field": "cunitidName",
                "checked": true,
                "fixed": false,
                "rowspan": 1,
                "colspan": 1,
                "align": "center",
                "width": 60,
              },
              {
                "title": "数量",
                "field": "nnum",
                "checked": true,
                "fixed": false,
                "rowspan": 1,
                "colspan": 1,
                "align": "center",
                "width":80,
              },
              {
                "title": "生产厂家",
                "field": "cproductoridName",
                "checked": true,
                "fixed": false,
                "rowspan": 1,
                "colspan": 1,
                "align": "center"
              },
              {
                "title": "厂家批号",
                "field": "vvendbatchcode",
                "checked": true,
                "fixed": false,
                "rowspan": 1,
                "colspan": 1,
                "align": "center"
              },
              {
                "title": "备注",
                "field": "",
                "checked": true,
                "fixed": false,
                "rowspan": 1,
                "colspan": 1,
                "align": "center"
              }
            ]
          ]
        },
        "printElementType": {
          "title": "单据表格",
          "type": "table",
          "editable": true,
          "columnDisplayEditable": true,
          "columnDisplayIndexEditable": true,
          "columnTitleEditable": true,
          "columnResizable": true,
          "columnAlignEditable": true,
          "isEnableEditField": true,
          "isEnableContextMenu": true,
          "isEnableInsertRow": true,
          "isEnableDeleteRow": true,
          "isEnableInsertColumn": true,
          "isEnableDeleteColumn": true,
          "isEnableMergeCell": true
        }
      },
      // {
      //   "options": {
      //     "left": 10,
      //     "top": 128.5,
      //     "height": 16.5,
      //     "width": 120,
      //     "title": "接收人：",
      //     "right": 129.99609375,
      //     "bottom": 124.9921875,
      //     "vCenter": 69.99609375,
      //     "hCenter": 116.7421875,
      //     "coordinateSync": false,
      //     "widthHeightSync": false,
      //     "textContentVerticalAlign": "middle",
      //     "qrCodeLevel": 0
      //   },
      //   "printElementType": {
      //     "title": "这是更新后的元素",
      //     "type": "text"
      //   }
      // },
    ],
    "paperNumberLeft": 565.5,
    "paperNumberTop": 397,
    "paperNumberContinue": true,
    "paperNumberDisabled": true,
    "watermarkOptions": {},
    "panelLayoutOptions": {}
  }]
}
